#
#  Be sure to run `pod spec lint GNAppKit.podspec' to ensure this is a
#  valid spec and to remove all comments including this before submitting the spec.
#
#  To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |s|

  s.name         = "GNAppKit"
  s.version      = "0.0.1"
  s.summary      = "A short description of GNAppKit."
  s.description  = <<-DESC
  基础组件库
                   DESC

  s.homepage     = "https://gitee.com/wkios/GNAppKit"
  
  s.license      = { :type => "MIT", :file => "FILE_LICENSE" }
  
  s.author             = { "wenkai" => "ios_fanwenkai@163.com" }
  
  s.source       = { :git => "git@gitee.com:wkios/GNAppKit.git", :tag => "#{s.version}" }
  
  s.ios.deployment_target = '9.0'
  s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
  s.swift_version = '4.2'

  s.module_name = 'GNAppKit'

  s.subspec 'GNFoundation' do |e|
      e.subspec 'Util' do |ut|
        ut.source_files = 'GNAppKit/GNFoundation/Util/*.swift'
      end
      e.subspec 'Extensions' do |ex|
        ex.source_files = 'GNAppKit/GNFoundation/Extensions/*.swift'
      end
  end

  s.subspec 'GNUIKit' do |e|
      e.subspec 'Extensions' do |ex|
        ex.source_files = 'GNAppKit/GNUIKit/Extensions/*.swift'
      end
  end

end
